package com.sinothk.client.system.controller;


import com.sinothk.client.system.model.VersionBean;
import com.sinothk.server.support.entity.ResultData;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@Api(tags = "版本控制")
@RestController
@RequestMapping("/version")
public class VersionController {

    @ApiOperation(value = "查询_查询最新版本", notes = "查询最新版本")
    @GetMapping("/getLastVersion")
    public ResultData<VersionBean> getLastVersion() {
        VersionBean area = new VersionBean();
        area.setVersionName("贵阳市.apk");
        return new ResultData<VersionBean>().getSuccess(area);
    }
}